package com.vivo.customer.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class IndoorManagerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public IndoorManagerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdIsNull() {
            addCriterion("FKCustomer_ID is null");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdIsNotNull() {
            addCriterion("FKCustomer_ID is not null");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdEqualTo(String value) {
            addCriterion("FKCustomer_ID =", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdNotEqualTo(String value) {
            addCriterion("FKCustomer_ID <>", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdGreaterThan(String value) {
            addCriterion("FKCustomer_ID >", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdGreaterThanOrEqualTo(String value) {
            addCriterion("FKCustomer_ID >=", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdLessThan(String value) {
            addCriterion("FKCustomer_ID <", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdLessThanOrEqualTo(String value) {
            addCriterion("FKCustomer_ID <=", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdLike(String value) {
            addCriterion("FKCustomer_ID like", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdNotLike(String value) {
            addCriterion("FKCustomer_ID not like", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdIn(List<String> values) {
            addCriterion("FKCustomer_ID in", values, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdNotIn(List<String> values) {
            addCriterion("FKCustomer_ID not in", values, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdBetween(String value1, String value2) {
            addCriterion("FKCustomer_ID between", value1, value2, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdNotBetween(String value1, String value2) {
            addCriterion("FKCustomer_ID not between", value1, value2, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdIsNull() {
            addCriterion("FKRoom_ID is null");
            return (Criteria) this;
        }

        public Criteria andFkroomIdIsNotNull() {
            addCriterion("FKRoom_ID is not null");
            return (Criteria) this;
        }

        public Criteria andFkroomIdEqualTo(String value) {
            addCriterion("FKRoom_ID =", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdNotEqualTo(String value) {
            addCriterion("FKRoom_ID <>", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdGreaterThan(String value) {
            addCriterion("FKRoom_ID >", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdGreaterThanOrEqualTo(String value) {
            addCriterion("FKRoom_ID >=", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdLessThan(String value) {
            addCriterion("FKRoom_ID <", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdLessThanOrEqualTo(String value) {
            addCriterion("FKRoom_ID <=", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdLike(String value) {
            addCriterion("FKRoom_ID like", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdNotLike(String value) {
            addCriterion("FKRoom_ID not like", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdIn(List<String> values) {
            addCriterion("FKRoom_ID in", values, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdNotIn(List<String> values) {
            addCriterion("FKRoom_ID not in", values, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdBetween(String value1, String value2) {
            addCriterion("FKRoom_ID between", value1, value2, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdNotBetween(String value1, String value2) {
            addCriterion("FKRoom_ID not between", value1, value2, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andRoomTypeIsNull() {
            addCriterion("Room_Type is null");
            return (Criteria) this;
        }

        public Criteria andRoomTypeIsNotNull() {
            addCriterion("Room_Type is not null");
            return (Criteria) this;
        }

        public Criteria andRoomTypeEqualTo(String value) {
            addCriterion("Room_Type =", value, "roomType");
            return (Criteria) this;
        }

        public Criteria andRoomTypeNotEqualTo(String value) {
            addCriterion("Room_Type <>", value, "roomType");
            return (Criteria) this;
        }

        public Criteria andRoomTypeGreaterThan(String value) {
            addCriterion("Room_Type >", value, "roomType");
            return (Criteria) this;
        }

        public Criteria andRoomTypeGreaterThanOrEqualTo(String value) {
            addCriterion("Room_Type >=", value, "roomType");
            return (Criteria) this;
        }

        public Criteria andRoomTypeLessThan(String value) {
            addCriterion("Room_Type <", value, "roomType");
            return (Criteria) this;
        }

        public Criteria andRoomTypeLessThanOrEqualTo(String value) {
            addCriterion("Room_Type <=", value, "roomType");
            return (Criteria) this;
        }

        public Criteria andRoomTypeLike(String value) {
            addCriterion("Room_Type like", value, "roomType");
            return (Criteria) this;
        }

        public Criteria andRoomTypeNotLike(String value) {
            addCriterion("Room_Type not like", value, "roomType");
            return (Criteria) this;
        }

        public Criteria andRoomTypeIn(List<String> values) {
            addCriterion("Room_Type in", values, "roomType");
            return (Criteria) this;
        }

        public Criteria andRoomTypeNotIn(List<String> values) {
            addCriterion("Room_Type not in", values, "roomType");
            return (Criteria) this;
        }

        public Criteria andRoomTypeBetween(String value1, String value2) {
            addCriterion("Room_Type between", value1, value2, "roomType");
            return (Criteria) this;
        }

        public Criteria andRoomTypeNotBetween(String value1, String value2) {
            addCriterion("Room_Type not between", value1, value2, "roomType");
            return (Criteria) this;
        }

        public Criteria andRoomStatusIsNull() {
            addCriterion("Room_Status is null");
            return (Criteria) this;
        }

        public Criteria andRoomStatusIsNotNull() {
            addCriterion("Room_Status is not null");
            return (Criteria) this;
        }

        public Criteria andRoomStatusEqualTo(String value) {
            addCriterion("Room_Status =", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusNotEqualTo(String value) {
            addCriterion("Room_Status <>", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusGreaterThan(String value) {
            addCriterion("Room_Status >", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusGreaterThanOrEqualTo(String value) {
            addCriterion("Room_Status >=", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusLessThan(String value) {
            addCriterion("Room_Status <", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusLessThanOrEqualTo(String value) {
            addCriterion("Room_Status <=", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusLike(String value) {
            addCriterion("Room_Status like", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusNotLike(String value) {
            addCriterion("Room_Status not like", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusIn(List<String> values) {
            addCriterion("Room_Status in", values, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusNotIn(List<String> values) {
            addCriterion("Room_Status not in", values, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusBetween(String value1, String value2) {
            addCriterion("Room_Status between", value1, value2, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusNotBetween(String value1, String value2) {
            addCriterion("Room_Status not between", value1, value2, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomUsePropertyIsNull() {
            addCriterion("Room_Use_property is null");
            return (Criteria) this;
        }

        public Criteria andRoomUsePropertyIsNotNull() {
            addCriterion("Room_Use_property is not null");
            return (Criteria) this;
        }

        public Criteria andRoomUsePropertyEqualTo(String value) {
            addCriterion("Room_Use_property =", value, "roomUseProperty");
            return (Criteria) this;
        }

        public Criteria andRoomUsePropertyNotEqualTo(String value) {
            addCriterion("Room_Use_property <>", value, "roomUseProperty");
            return (Criteria) this;
        }

        public Criteria andRoomUsePropertyGreaterThan(String value) {
            addCriterion("Room_Use_property >", value, "roomUseProperty");
            return (Criteria) this;
        }

        public Criteria andRoomUsePropertyGreaterThanOrEqualTo(String value) {
            addCriterion("Room_Use_property >=", value, "roomUseProperty");
            return (Criteria) this;
        }

        public Criteria andRoomUsePropertyLessThan(String value) {
            addCriterion("Room_Use_property <", value, "roomUseProperty");
            return (Criteria) this;
        }

        public Criteria andRoomUsePropertyLessThanOrEqualTo(String value) {
            addCriterion("Room_Use_property <=", value, "roomUseProperty");
            return (Criteria) this;
        }

        public Criteria andRoomUsePropertyLike(String value) {
            addCriterion("Room_Use_property like", value, "roomUseProperty");
            return (Criteria) this;
        }

        public Criteria andRoomUsePropertyNotLike(String value) {
            addCriterion("Room_Use_property not like", value, "roomUseProperty");
            return (Criteria) this;
        }

        public Criteria andRoomUsePropertyIn(List<String> values) {
            addCriterion("Room_Use_property in", values, "roomUseProperty");
            return (Criteria) this;
        }

        public Criteria andRoomUsePropertyNotIn(List<String> values) {
            addCriterion("Room_Use_property not in", values, "roomUseProperty");
            return (Criteria) this;
        }

        public Criteria andRoomUsePropertyBetween(String value1, String value2) {
            addCriterion("Room_Use_property between", value1, value2, "roomUseProperty");
            return (Criteria) this;
        }

        public Criteria andRoomUsePropertyNotBetween(String value1, String value2) {
            addCriterion("Room_Use_property not between", value1, value2, "roomUseProperty");
            return (Criteria) this;
        }

        public Criteria andPeopleCountIsNull() {
            addCriterion("People_Count is null");
            return (Criteria) this;
        }

        public Criteria andPeopleCountIsNotNull() {
            addCriterion("People_Count is not null");
            return (Criteria) this;
        }

        public Criteria andPeopleCountEqualTo(Integer value) {
            addCriterion("People_Count =", value, "peopleCount");
            return (Criteria) this;
        }

        public Criteria andPeopleCountNotEqualTo(Integer value) {
            addCriterion("People_Count <>", value, "peopleCount");
            return (Criteria) this;
        }

        public Criteria andPeopleCountGreaterThan(Integer value) {
            addCriterion("People_Count >", value, "peopleCount");
            return (Criteria) this;
        }

        public Criteria andPeopleCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("People_Count >=", value, "peopleCount");
            return (Criteria) this;
        }

        public Criteria andPeopleCountLessThan(Integer value) {
            addCriterion("People_Count <", value, "peopleCount");
            return (Criteria) this;
        }

        public Criteria andPeopleCountLessThanOrEqualTo(Integer value) {
            addCriterion("People_Count <=", value, "peopleCount");
            return (Criteria) this;
        }

        public Criteria andPeopleCountIn(List<Integer> values) {
            addCriterion("People_Count in", values, "peopleCount");
            return (Criteria) this;
        }

        public Criteria andPeopleCountNotIn(List<Integer> values) {
            addCriterion("People_Count not in", values, "peopleCount");
            return (Criteria) this;
        }

        public Criteria andPeopleCountBetween(Integer value1, Integer value2) {
            addCriterion("People_Count between", value1, value2, "peopleCount");
            return (Criteria) this;
        }

        public Criteria andPeopleCountNotBetween(Integer value1, Integer value2) {
            addCriterion("People_Count not between", value1, value2, "peopleCount");
            return (Criteria) this;
        }

        public Criteria andResidentIsNull() {
            addCriterion("Resident is null");
            return (Criteria) this;
        }

        public Criteria andResidentIsNotNull() {
            addCriterion("Resident is not null");
            return (Criteria) this;
        }

        public Criteria andResidentEqualTo(String value) {
            addCriterion("Resident =", value, "resident");
            return (Criteria) this;
        }

        public Criteria andResidentNotEqualTo(String value) {
            addCriterion("Resident <>", value, "resident");
            return (Criteria) this;
        }

        public Criteria andResidentGreaterThan(String value) {
            addCriterion("Resident >", value, "resident");
            return (Criteria) this;
        }

        public Criteria andResidentGreaterThanOrEqualTo(String value) {
            addCriterion("Resident >=", value, "resident");
            return (Criteria) this;
        }

        public Criteria andResidentLessThan(String value) {
            addCriterion("Resident <", value, "resident");
            return (Criteria) this;
        }

        public Criteria andResidentLessThanOrEqualTo(String value) {
            addCriterion("Resident <=", value, "resident");
            return (Criteria) this;
        }

        public Criteria andResidentLike(String value) {
            addCriterion("Resident like", value, "resident");
            return (Criteria) this;
        }

        public Criteria andResidentNotLike(String value) {
            addCriterion("Resident not like", value, "resident");
            return (Criteria) this;
        }

        public Criteria andResidentIn(List<String> values) {
            addCriterion("Resident in", values, "resident");
            return (Criteria) this;
        }

        public Criteria andResidentNotIn(List<String> values) {
            addCriterion("Resident not in", values, "resident");
            return (Criteria) this;
        }

        public Criteria andResidentBetween(String value1, String value2) {
            addCriterion("Resident between", value1, value2, "resident");
            return (Criteria) this;
        }

        public Criteria andResidentNotBetween(String value1, String value2) {
            addCriterion("Resident not between", value1, value2, "resident");
            return (Criteria) this;
        }

        public Criteria andRiskArticleIsNull() {
            addCriterion("Risk_article is null");
            return (Criteria) this;
        }

        public Criteria andRiskArticleIsNotNull() {
            addCriterion("Risk_article is not null");
            return (Criteria) this;
        }

        public Criteria andRiskArticleEqualTo(String value) {
            addCriterion("Risk_article =", value, "riskArticle");
            return (Criteria) this;
        }

        public Criteria andRiskArticleNotEqualTo(String value) {
            addCriterion("Risk_article <>", value, "riskArticle");
            return (Criteria) this;
        }

        public Criteria andRiskArticleGreaterThan(String value) {
            addCriterion("Risk_article >", value, "riskArticle");
            return (Criteria) this;
        }

        public Criteria andRiskArticleGreaterThanOrEqualTo(String value) {
            addCriterion("Risk_article >=", value, "riskArticle");
            return (Criteria) this;
        }

        public Criteria andRiskArticleLessThan(String value) {
            addCriterion("Risk_article <", value, "riskArticle");
            return (Criteria) this;
        }

        public Criteria andRiskArticleLessThanOrEqualTo(String value) {
            addCriterion("Risk_article <=", value, "riskArticle");
            return (Criteria) this;
        }

        public Criteria andRiskArticleLike(String value) {
            addCriterion("Risk_article like", value, "riskArticle");
            return (Criteria) this;
        }

        public Criteria andRiskArticleNotLike(String value) {
            addCriterion("Risk_article not like", value, "riskArticle");
            return (Criteria) this;
        }

        public Criteria andRiskArticleIn(List<String> values) {
            addCriterion("Risk_article in", values, "riskArticle");
            return (Criteria) this;
        }

        public Criteria andRiskArticleNotIn(List<String> values) {
            addCriterion("Risk_article not in", values, "riskArticle");
            return (Criteria) this;
        }

        public Criteria andRiskArticleBetween(String value1, String value2) {
            addCriterion("Risk_article between", value1, value2, "riskArticle");
            return (Criteria) this;
        }

        public Criteria andRiskArticleNotBetween(String value1, String value2) {
            addCriterion("Risk_article not between", value1, value2, "riskArticle");
            return (Criteria) this;
        }

        public Criteria andNotriskArticleIsNull() {
            addCriterion("NotRisk_article is null");
            return (Criteria) this;
        }

        public Criteria andNotriskArticleIsNotNull() {
            addCriterion("NotRisk_article is not null");
            return (Criteria) this;
        }

        public Criteria andNotriskArticleEqualTo(String value) {
            addCriterion("NotRisk_article =", value, "notriskArticle");
            return (Criteria) this;
        }

        public Criteria andNotriskArticleNotEqualTo(String value) {
            addCriterion("NotRisk_article <>", value, "notriskArticle");
            return (Criteria) this;
        }

        public Criteria andNotriskArticleGreaterThan(String value) {
            addCriterion("NotRisk_article >", value, "notriskArticle");
            return (Criteria) this;
        }

        public Criteria andNotriskArticleGreaterThanOrEqualTo(String value) {
            addCriterion("NotRisk_article >=", value, "notriskArticle");
            return (Criteria) this;
        }

        public Criteria andNotriskArticleLessThan(String value) {
            addCriterion("NotRisk_article <", value, "notriskArticle");
            return (Criteria) this;
        }

        public Criteria andNotriskArticleLessThanOrEqualTo(String value) {
            addCriterion("NotRisk_article <=", value, "notriskArticle");
            return (Criteria) this;
        }

        public Criteria andNotriskArticleLike(String value) {
            addCriterion("NotRisk_article like", value, "notriskArticle");
            return (Criteria) this;
        }

        public Criteria andNotriskArticleNotLike(String value) {
            addCriterion("NotRisk_article not like", value, "notriskArticle");
            return (Criteria) this;
        }

        public Criteria andNotriskArticleIn(List<String> values) {
            addCriterion("NotRisk_article in", values, "notriskArticle");
            return (Criteria) this;
        }

        public Criteria andNotriskArticleNotIn(List<String> values) {
            addCriterion("NotRisk_article not in", values, "notriskArticle");
            return (Criteria) this;
        }

        public Criteria andNotriskArticleBetween(String value1, String value2) {
            addCriterion("NotRisk_article between", value1, value2, "notriskArticle");
            return (Criteria) this;
        }

        public Criteria andNotriskArticleNotBetween(String value1, String value2) {
            addCriterion("NotRisk_article not between", value1, value2, "notriskArticle");
            return (Criteria) this;
        }

        public Criteria andWorkIsNull() {
            addCriterion("Work is null");
            return (Criteria) this;
        }

        public Criteria andWorkIsNotNull() {
            addCriterion("Work is not null");
            return (Criteria) this;
        }

        public Criteria andWorkEqualTo(String value) {
            addCriterion("Work =", value, "work");
            return (Criteria) this;
        }

        public Criteria andWorkNotEqualTo(String value) {
            addCriterion("Work <>", value, "work");
            return (Criteria) this;
        }

        public Criteria andWorkGreaterThan(String value) {
            addCriterion("Work >", value, "work");
            return (Criteria) this;
        }

        public Criteria andWorkGreaterThanOrEqualTo(String value) {
            addCriterion("Work >=", value, "work");
            return (Criteria) this;
        }

        public Criteria andWorkLessThan(String value) {
            addCriterion("Work <", value, "work");
            return (Criteria) this;
        }

        public Criteria andWorkLessThanOrEqualTo(String value) {
            addCriterion("Work <=", value, "work");
            return (Criteria) this;
        }

        public Criteria andWorkLike(String value) {
            addCriterion("Work like", value, "work");
            return (Criteria) this;
        }

        public Criteria andWorkNotLike(String value) {
            addCriterion("Work not like", value, "work");
            return (Criteria) this;
        }

        public Criteria andWorkIn(List<String> values) {
            addCriterion("Work in", values, "work");
            return (Criteria) this;
        }

        public Criteria andWorkNotIn(List<String> values) {
            addCriterion("Work not in", values, "work");
            return (Criteria) this;
        }

        public Criteria andWorkBetween(String value1, String value2) {
            addCriterion("Work between", value1, value2, "work");
            return (Criteria) this;
        }

        public Criteria andWorkNotBetween(String value1, String value2) {
            addCriterion("Work not between", value1, value2, "work");
            return (Criteria) this;
        }

        public Criteria andMeetingIsNull() {
            addCriterion("Meeting is null");
            return (Criteria) this;
        }

        public Criteria andMeetingIsNotNull() {
            addCriterion("Meeting is not null");
            return (Criteria) this;
        }

        public Criteria andMeetingEqualTo(String value) {
            addCriterion("Meeting =", value, "meeting");
            return (Criteria) this;
        }

        public Criteria andMeetingNotEqualTo(String value) {
            addCriterion("Meeting <>", value, "meeting");
            return (Criteria) this;
        }

        public Criteria andMeetingGreaterThan(String value) {
            addCriterion("Meeting >", value, "meeting");
            return (Criteria) this;
        }

        public Criteria andMeetingGreaterThanOrEqualTo(String value) {
            addCriterion("Meeting >=", value, "meeting");
            return (Criteria) this;
        }

        public Criteria andMeetingLessThan(String value) {
            addCriterion("Meeting <", value, "meeting");
            return (Criteria) this;
        }

        public Criteria andMeetingLessThanOrEqualTo(String value) {
            addCriterion("Meeting <=", value, "meeting");
            return (Criteria) this;
        }

        public Criteria andMeetingLike(String value) {
            addCriterion("Meeting like", value, "meeting");
            return (Criteria) this;
        }

        public Criteria andMeetingNotLike(String value) {
            addCriterion("Meeting not like", value, "meeting");
            return (Criteria) this;
        }

        public Criteria andMeetingIn(List<String> values) {
            addCriterion("Meeting in", values, "meeting");
            return (Criteria) this;
        }

        public Criteria andMeetingNotIn(List<String> values) {
            addCriterion("Meeting not in", values, "meeting");
            return (Criteria) this;
        }

        public Criteria andMeetingBetween(String value1, String value2) {
            addCriterion("Meeting between", value1, value2, "meeting");
            return (Criteria) this;
        }

        public Criteria andMeetingNotBetween(String value1, String value2) {
            addCriterion("Meeting not between", value1, value2, "meeting");
            return (Criteria) this;
        }

        public Criteria andDiningRoomIsNull() {
            addCriterion("Dining_room is null");
            return (Criteria) this;
        }

        public Criteria andDiningRoomIsNotNull() {
            addCriterion("Dining_room is not null");
            return (Criteria) this;
        }

        public Criteria andDiningRoomEqualTo(String value) {
            addCriterion("Dining_room =", value, "diningRoom");
            return (Criteria) this;
        }

        public Criteria andDiningRoomNotEqualTo(String value) {
            addCriterion("Dining_room <>", value, "diningRoom");
            return (Criteria) this;
        }

        public Criteria andDiningRoomGreaterThan(String value) {
            addCriterion("Dining_room >", value, "diningRoom");
            return (Criteria) this;
        }

        public Criteria andDiningRoomGreaterThanOrEqualTo(String value) {
            addCriterion("Dining_room >=", value, "diningRoom");
            return (Criteria) this;
        }

        public Criteria andDiningRoomLessThan(String value) {
            addCriterion("Dining_room <", value, "diningRoom");
            return (Criteria) this;
        }

        public Criteria andDiningRoomLessThanOrEqualTo(String value) {
            addCriterion("Dining_room <=", value, "diningRoom");
            return (Criteria) this;
        }

        public Criteria andDiningRoomLike(String value) {
            addCriterion("Dining_room like", value, "diningRoom");
            return (Criteria) this;
        }

        public Criteria andDiningRoomNotLike(String value) {
            addCriterion("Dining_room not like", value, "diningRoom");
            return (Criteria) this;
        }

        public Criteria andDiningRoomIn(List<String> values) {
            addCriterion("Dining_room in", values, "diningRoom");
            return (Criteria) this;
        }

        public Criteria andDiningRoomNotIn(List<String> values) {
            addCriterion("Dining_room not in", values, "diningRoom");
            return (Criteria) this;
        }

        public Criteria andDiningRoomBetween(String value1, String value2) {
            addCriterion("Dining_room between", value1, value2, "diningRoom");
            return (Criteria) this;
        }

        public Criteria andDiningRoomNotBetween(String value1, String value2) {
            addCriterion("Dining_room not between", value1, value2, "diningRoom");
            return (Criteria) this;
        }

        public Criteria andTradeFairIsNull() {
            addCriterion("Trade_fair is null");
            return (Criteria) this;
        }

        public Criteria andTradeFairIsNotNull() {
            addCriterion("Trade_fair is not null");
            return (Criteria) this;
        }

        public Criteria andTradeFairEqualTo(String value) {
            addCriterion("Trade_fair =", value, "tradeFair");
            return (Criteria) this;
        }

        public Criteria andTradeFairNotEqualTo(String value) {
            addCriterion("Trade_fair <>", value, "tradeFair");
            return (Criteria) this;
        }

        public Criteria andTradeFairGreaterThan(String value) {
            addCriterion("Trade_fair >", value, "tradeFair");
            return (Criteria) this;
        }

        public Criteria andTradeFairGreaterThanOrEqualTo(String value) {
            addCriterion("Trade_fair >=", value, "tradeFair");
            return (Criteria) this;
        }

        public Criteria andTradeFairLessThan(String value) {
            addCriterion("Trade_fair <", value, "tradeFair");
            return (Criteria) this;
        }

        public Criteria andTradeFairLessThanOrEqualTo(String value) {
            addCriterion("Trade_fair <=", value, "tradeFair");
            return (Criteria) this;
        }

        public Criteria andTradeFairLike(String value) {
            addCriterion("Trade_fair like", value, "tradeFair");
            return (Criteria) this;
        }

        public Criteria andTradeFairNotLike(String value) {
            addCriterion("Trade_fair not like", value, "tradeFair");
            return (Criteria) this;
        }

        public Criteria andTradeFairIn(List<String> values) {
            addCriterion("Trade_fair in", values, "tradeFair");
            return (Criteria) this;
        }

        public Criteria andTradeFairNotIn(List<String> values) {
            addCriterion("Trade_fair not in", values, "tradeFair");
            return (Criteria) this;
        }

        public Criteria andTradeFairBetween(String value1, String value2) {
            addCriterion("Trade_fair between", value1, value2, "tradeFair");
            return (Criteria) this;
        }

        public Criteria andTradeFairNotBetween(String value1, String value2) {
            addCriterion("Trade_fair not between", value1, value2, "tradeFair");
            return (Criteria) this;
        }

        public Criteria andOtherIsNull() {
            addCriterion("Other is null");
            return (Criteria) this;
        }

        public Criteria andOtherIsNotNull() {
            addCriterion("Other is not null");
            return (Criteria) this;
        }

        public Criteria andOtherEqualTo(String value) {
            addCriterion("Other =", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotEqualTo(String value) {
            addCriterion("Other <>", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherGreaterThan(String value) {
            addCriterion("Other >", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherGreaterThanOrEqualTo(String value) {
            addCriterion("Other >=", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherLessThan(String value) {
            addCriterion("Other <", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherLessThanOrEqualTo(String value) {
            addCriterion("Other <=", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherLike(String value) {
            addCriterion("Other like", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotLike(String value) {
            addCriterion("Other not like", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherIn(List<String> values) {
            addCriterion("Other in", values, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotIn(List<String> values) {
            addCriterion("Other not in", values, "other");
            return (Criteria) this;
        }

        public Criteria andOtherBetween(String value1, String value2) {
            addCriterion("Other between", value1, value2, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotBetween(String value1, String value2) {
            addCriterion("Other not between", value1, value2, "other");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("Create_Time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("Create_Time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("Create_Time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("Create_Time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("Create_Time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Create_Time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("Create_Time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("Create_Time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("Create_Time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("Create_Time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("Create_Time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("Create_Time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andLastmodTimeIsNull() {
            addCriterion("lastMod_Time is null");
            return (Criteria) this;
        }

        public Criteria andLastmodTimeIsNotNull() {
            addCriterion("lastMod_Time is not null");
            return (Criteria) this;
        }

        public Criteria andLastmodTimeEqualTo(Date value) {
            addCriterion("lastMod_Time =", value, "lastmodTime");
            return (Criteria) this;
        }

        public Criteria andLastmodTimeNotEqualTo(Date value) {
            addCriterion("lastMod_Time <>", value, "lastmodTime");
            return (Criteria) this;
        }

        public Criteria andLastmodTimeGreaterThan(Date value) {
            addCriterion("lastMod_Time >", value, "lastmodTime");
            return (Criteria) this;
        }

        public Criteria andLastmodTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("lastMod_Time >=", value, "lastmodTime");
            return (Criteria) this;
        }

        public Criteria andLastmodTimeLessThan(Date value) {
            addCriterion("lastMod_Time <", value, "lastmodTime");
            return (Criteria) this;
        }

        public Criteria andLastmodTimeLessThanOrEqualTo(Date value) {
            addCriterion("lastMod_Time <=", value, "lastmodTime");
            return (Criteria) this;
        }

        public Criteria andLastmodTimeIn(List<Date> values) {
            addCriterion("lastMod_Time in", values, "lastmodTime");
            return (Criteria) this;
        }

        public Criteria andLastmodTimeNotIn(List<Date> values) {
            addCriterion("lastMod_Time not in", values, "lastmodTime");
            return (Criteria) this;
        }

        public Criteria andLastmodTimeBetween(Date value1, Date value2) {
            addCriterion("lastMod_Time between", value1, value2, "lastmodTime");
            return (Criteria) this;
        }

        public Criteria andLastmodTimeNotBetween(Date value1, Date value2) {
            addCriterion("lastMod_Time not between", value1, value2, "lastmodTime");
            return (Criteria) this;
        }

        public Criteria andAddUserIsNull() {
            addCriterion("add_user is null");
            return (Criteria) this;
        }

        public Criteria andAddUserIsNotNull() {
            addCriterion("add_user is not null");
            return (Criteria) this;
        }

        public Criteria andAddUserEqualTo(String value) {
            addCriterion("add_user =", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotEqualTo(String value) {
            addCriterion("add_user <>", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserGreaterThan(String value) {
            addCriterion("add_user >", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserGreaterThanOrEqualTo(String value) {
            addCriterion("add_user >=", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserLessThan(String value) {
            addCriterion("add_user <", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserLessThanOrEqualTo(String value) {
            addCriterion("add_user <=", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserLike(String value) {
            addCriterion("add_user like", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotLike(String value) {
            addCriterion("add_user not like", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserIn(List<String> values) {
            addCriterion("add_user in", values, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotIn(List<String> values) {
            addCriterion("add_user not in", values, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserBetween(String value1, String value2) {
            addCriterion("add_user between", value1, value2, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotBetween(String value1, String value2) {
            addCriterion("add_user not between", value1, value2, "addUser");
            return (Criteria) this;
        }

        public Criteria andWorkUseIsNull() {
            addCriterion("work_use is null");
            return (Criteria) this;
        }

        public Criteria andWorkUseIsNotNull() {
            addCriterion("work_use is not null");
            return (Criteria) this;
        }

        public Criteria andWorkUseEqualTo(String value) {
            addCriterion("work_use =", value, "workUse");
            return (Criteria) this;
        }

        public Criteria andWorkUseNotEqualTo(String value) {
            addCriterion("work_use <>", value, "workUse");
            return (Criteria) this;
        }

        public Criteria andWorkUseGreaterThan(String value) {
            addCriterion("work_use >", value, "workUse");
            return (Criteria) this;
        }

        public Criteria andWorkUseGreaterThanOrEqualTo(String value) {
            addCriterion("work_use >=", value, "workUse");
            return (Criteria) this;
        }

        public Criteria andWorkUseLessThan(String value) {
            addCriterion("work_use <", value, "workUse");
            return (Criteria) this;
        }

        public Criteria andWorkUseLessThanOrEqualTo(String value) {
            addCriterion("work_use <=", value, "workUse");
            return (Criteria) this;
        }

        public Criteria andWorkUseLike(String value) {
            addCriterion("work_use like", value, "workUse");
            return (Criteria) this;
        }

        public Criteria andWorkUseNotLike(String value) {
            addCriterion("work_use not like", value, "workUse");
            return (Criteria) this;
        }

        public Criteria andWorkUseIn(List<String> values) {
            addCriterion("work_use in", values, "workUse");
            return (Criteria) this;
        }

        public Criteria andWorkUseNotIn(List<String> values) {
            addCriterion("work_use not in", values, "workUse");
            return (Criteria) this;
        }

        public Criteria andWorkUseBetween(String value1, String value2) {
            addCriterion("work_use between", value1, value2, "workUse");
            return (Criteria) this;
        }

        public Criteria andWorkUseNotBetween(String value1, String value2) {
            addCriterion("work_use not between", value1, value2, "workUse");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}